package com.canos.util;


public class Util {

	public static void p(String s){
		System.out.println(s);
	}
	
	public static void printMemoryInfo(){
		long max = Runtime.getRuntime().maxMemory()/1024/1024;
		long total = Runtime.getRuntime().totalMemory()/1024/1024;
		long free = Runtime.getRuntime().freeMemory()/1024/1024;
		
		p("Max disponible:"+max+"M");
		p("Total usada:"+total+"M");
		p("free in JVM:"+free+"M");
	}
}
